/******************************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Ltd.                       */
/*                                                                            */
/*  NAME      = sqlserver_rpc.h                                               */
/*  NOTE      =                                                               */
/*  DATE      = 2014/10/10 by zhengxd                                         */
/******************************************************************************/
#ifndef _SQLSERVER_RPC_H_
#define _SQLSERVER_RPC_H_

int sqlserver_rpc_cursor(Conntrack *p_st_conn
                         , L7session_sqlserver_private *p_st_private
                         , Frhash_header *p_st_hash_report
                         , int i_cancel_flg
                         , int i_whole_flg);

int sqlserver_rpc_cursor_open(Conntrack *p_st_conn
                             , L7session_sqlserver_private *p_st_private
                             , Frhash_header *p_st_hash_report
                             , int i_cancel_flg
                             , int i_whole_flg);

int sqlserver_rpc_cursor_exec(Conntrack *p_st_conn
                             , L7session_sqlserver_private *p_st_private
                             , Frhash_header *p_st_hash_report
                             , int i_cancel_flg
                             , int i_whole_flg);

int sqlserver_rpc_cursor_prep_exec(Conntrack *p_st_conn
                                  , L7session_sqlserver_private *p_st_private
                                  , Frhash_header *p_st_hash_report
                                  , int i_cancel_flg
                                  , int i_whole_flg);

int sqlserver_rpc_cursor_unprep(Conntrack *p_st_conn
                                , L7session_sqlserver_private *p_st_private
                                , Frhash_header *p_st_hash_report
                                , int i_cancel_flg
                                , int i_whole_flg);

int sqlserver_rpc_cursor_fetch(Conntrack *p_st_conn
                              , L7session_sqlserver_private *p_st_private
                              , Frhash_header *p_st_hash_report
                              , int i_cancel_flg
                              , int i_whole_flg);

int sqlserver_rpc_cursor_opt(Conntrack *p_st_conn
                            , L7session_sqlserver_private *p_st_private
                            , Frhash_header *p_st_hash_report
                            , int i_cancel_flg
                            , int i_whole_flg);

int sqlserver_rpc_cursor_close(Conntrack *p_st_conn
                              , L7session_sqlserver_private *p_st_private
                              , Frhash_header *p_st_hash_report
                              , int i_cancel_flg
                              , int i_whole_flg);

int sqlserver_rpc_prep(Conntrack *p_st_conn
                      , L7session_sqlserver_private *p_st_private
                      , Frhash_header *p_st_hash_report
                      , int i_cancel_flg
                      , int i_whole_flg);

int sqlserver_rpc_exec_sql(Conntrack *p_st_conn
                          , L7session_sqlserver_private *p_st_private
                          , Frhash_header *p_st_hash_report
                          , int i_cancel_flg
                          , int i_whole_flg);

int sqlserver_rpc_exec(Conntrack *p_st_conn
                      , L7session_sqlserver_private *p_st_private
                      , Frhash_header *p_st_hash_report
                      , int i_cancel_flg
                      , int i_whole_flg);

int sqlserver_rpc_prepexec(Conntrack *p_st_conn
                          , L7session_sqlserver_private *p_st_private
                          , Frhash_header *p_st_hash_report
                          , int i_cancel_flg
                          , int i_whole_flg);

int sqlserver_rpc_prep_rpc(Conntrack *p_st_conn
                          , L7session_sqlserver_private *p_st_private
                          , Frhash_header *p_st_hash_report
                          , int i_cancel_flg
                          , int i_whole_flg);

int sqlserver_rpc_unprep(Conntrack *p_st_conn
                         , L7session_sqlserver_private *p_st_private
                         , Frhash_header *p_st_hash_report
                         , int i_cancel_flg
                         , int i_whole_flg);

int sqlserver_rpc_name(Conntrack *p_st_conn
                      , L7session_sqlserver_private *p_st_private
                      , Frhash_header *p_st_hash_report
                      , int i_cancel_flg
                      , int i_whole_flg);

#endif
